package com.smart.comsumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * .............................................
 * When I wrote this, only God and I understood what I was doing
 * Now, God only knows
 * .............................................
 *
 * @ProjectName: cloud-alibaba-example
 * @Package: com.smart.comsumer.feign
 * @ClassName: ProviderFeignService
 * @Description: 描述
 * @Author: zhangwei
 * @CreateDate: 2021/12/21 11:02
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/12/21 11:02
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 * context-path
 */
@FeignClient(value = "nacos-provier", path = "/api/provider")
public interface ProviderFeignService {
    @GetMapping("/hello")
    String hello(@RequestParam String name);
}
